OLD | NEW |
(Empty) | |
| 1 ### en/includer ### |
| 2 <h1>Foobar</h1> |
| 3 |
| 4 |
| 5 <p>This is an included example</p> |
| 6 |
| 7 Variable from included piece: bar |
| 8 ### en/translate-html ### |
| 9 <html> |
| 10 <body> |
| 11 Simple TS with default: Translate. |
| 12 |
| 13 Same TS with no default: Translate. |
| 14 |
| 15 TS with fixed text: Fixed text. |
| 16 |
| 17 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
| 18 |
| 19 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. |
| 20 |
| 21 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a
>. |
| 22 |
| 23 Entity escaping: Drag&drop. |
| 24 |
| 25 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 26 </body> |
| 27 </html> |
| 28 ### de/translate-html ### |
| 29 <html> |
| 30 <body> |
| 31 Simple TS with default: Übersetzen. |
| 32 |
| 33 Same TS with no default: Übersetzen. |
| 34 |
| 35 TS with fixed text: Fester text. |
| 36 |
| 37 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/
">Baz</a>. |
| 38 |
| 39 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>. |
| 40 |
| 41 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenverze
ichnis</a>. |
| 42 |
| 43 Entity escaping: Draggen&droppen. |
| 44 |
| 45 Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>. |
| 46 </body> |
| 47 </html> |
| 48 ### en/bar ### |
| 49 |
| 50 ### en/translate ### |
| 51 <p>Simple TS with default: Translate.</p> |
| 52 <p>Same TS with no default: Translate.</p> |
| 53 <p>TS with fixed text: Fixed text.</p> |
| 54 <p>Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz
.com/">Baz</a>.</p> |
| 55 <p>Link resolving: <a href="/en/translate" hreflang="en">This page</a>.</p> |
| 56 <p>Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map
</a>.</p> |
| 57 <p>Entity escaping: Drag&drop.</p> |
| 58 <p>Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>.</p> |
| 59 ### de/filter ### |
| 60 foo |
| 61 ### de/translate-template ### |
| 62 <h1>Translation strings are all in the template</h1> |
| 63 |
| 64 Simple TS with default: Übersetzen. |
| 65 |
| 66 Same TS with no default: doesn't work in templates. |
| 67 |
| 68 TS with fixed text: Fester text. |
| 69 |
| 70 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/
">Baz</a>. |
| 71 |
| 72 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>. |
| 73 |
| 74 Entity escaping: Draggen&droppen. |
| 75 |
| 76 Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>. |
| 77 ### de/global ### |
| 78 METHOD TEST PASSEDFalseTrueexists |
| 79 ### de/translate ### |
| 80 <p>Simple TS with default: Übersetzen.</p> |
| 81 <p>Same TS with no default: Übersetzen.</p> |
| 82 <p>TS with fixed text: Fester text.</p> |
| 83 <p>Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.
de/">Baz</a>.</p> |
| 84 <p>Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.</p> |
| 85 <p>Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenve
rzeichnis</a>.</p> |
| 86 <p>Entity escaping: Draggen&droppen.</p> |
| 87 <p>Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>.</p> |
| 88 ### de/translate-tmpl ### |
| 89 <html> |
| 90 <body> |
| 91 Simple TS with default: Übersetzen. |
| 92 |
| 93 Same TS with no default: Übersetzen. |
| 94 |
| 95 TS with fixed text: Fester text. |
| 96 |
| 97 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/
">Baz</a>. |
| 98 |
| 99 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>. |
| 100 |
| 101 Entity escaping: Draggen&droppen. |
| 102 |
| 103 Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>. |
| 104 </body> |
| 105 </html> |
| 106 ### de/sitemap ### |
| 107 <h1> Unfiltered </h1> |
| 108 <ul> |
| 109 <li>title : includer </li> |
| 110 <li>title : translate-template </li> |
| 111 <li>title : sitemap </li> |
| 112 </ul> |
| 113 |
| 114 <h1> Filtered </h1> |
| 115 <ul><li>title : sitemap </li> |
| 116 </ul> |
| 117 |
| 118 <h1> String Filter For Listy Option </h1> |
| 119 <ul><li>title : sitemap </li> |
| 120 </ul> |
| 121 ### en/sitemap ### |
| 122 <h1> Unfiltered </h1> |
| 123 <ul> |
| 124 <li>title : includer </li> |
| 125 <li>title : translate-template </li> |
| 126 <li>title : sitemap </li> |
| 127 </ul> |
| 128 |
| 129 <h1> Filtered </h1> |
| 130 <ul><li>title : sitemap </li> |
| 131 </ul> |
| 132 |
| 133 <h1> String Filter For Listy Option </h1> |
| 134 <ul><li>title : sitemap </li> |
| 135 </ul> |
| 136 ### de/translate-include ### |
| 137 <h1>Translations from an include fragment</h1> |
| 138 Simple TS with default: Übersetzen. |
| 139 |
| 140 Same TS with no default: Übersetzen. |
| 141 |
| 142 TS with fixed text: Fester text. |
| 143 |
| 144 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/
">Baz</a>. |
| 145 |
| 146 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>. |
| 147 |
| 148 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenverze
ichnis</a>. |
| 149 |
| 150 Entity escaping: Draggen&droppen. |
| 151 |
| 152 Entity escaping in links: <a href="http://foo.com/?a&b">Bar</a>. |
| 153 ### en/translate-tmpl ### |
| 154 <html> |
| 155 <body> |
| 156 Simple TS with default: Translate. |
| 157 |
| 158 Same TS with no default: Translate. |
| 159 |
| 160 TS with fixed text: Fixed text. |
| 161 |
| 162 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
| 163 |
| 164 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. |
| 165 |
| 166 Entity escaping: Drag&drop. |
| 167 |
| 168 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 169 </body> |
| 170 </html> |
| 171 ### en/translate-not-enough ### |
| 172 <p>This page doesn't have enough translation in German so it shouldn't be genera
ted.</p> |
| 173 <ul> |
| 174 <li>TS1 - this one has translation to German, others don't.</li> |
| 175 <li>TS2.</li> |
| 176 <li>TS3.</li> |
| 177 <li>TS4.</li> |
| 178 </ul> |
| 179 ### de/includer ### |
| 180 <h1>Foobar</h1> |
| 181 |
| 182 |
| 183 <p>This is an included example</p> |
| 184 |
| 185 Variable from included piece: bar |
| 186 ### en/global ### |
| 187 METHOD TEST PASSEDFalseTrueexists |
| 188 ### en/get_page_url ### |
| 189 global_canonical_url = https://acme.com/global |
| 190 |
| 191 # 'filter' is default page name for the test website, so we check that the |
| 192 # link would not include the page name itself. |
| 193 filter_canonical_url = https://acme.com/ |
| 194 ### en/translate-template ### |
| 195 <h1>Translation strings are all in the template</h1> |
| 196 |
| 197 Simple TS with default: Translate. |
| 198 |
| 199 Same TS with no default: doesn't work in templates. |
| 200 |
| 201 TS with fixed text: Fixed text. |
| 202 |
| 203 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
| 204 |
| 205 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. |
| 206 |
| 207 Entity escaping: Drag&drop. |
| 208 |
| 209 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 210 ### en/filter ### |
| 211 foo |
| 212 ### de/bar ### |
| 213 |
| 214 ### en/translate-include ### |
| 215 <h1>Translations from an include fragment</h1> |
| 216 Simple TS with default: Translate. |
| 217 |
| 218 Same TS with no default: Translate. |
| 219 |
| 220 TS with fixed text: Fixed text. |
| 221 |
| 222 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
| 223 |
| 224 Link resolving: <a href="/en/translate" hreflang="en">This page</a>. |
| 225 |
| 226 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a
>. |
| 227 |
| 228 Entity escaping: Drag&drop. |
| 229 |
| 230 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
| 231 ### en/translate-partial ### |
| 232 <p>This page only has half of translation in German, but enough to be generated.
</p> |
| 233 <ul> |
| 234 <li>TS1.</li> |
| 235 <li>TS2.</li> |
| 236 </ul> |
| 237 ### de/translate-partial ### |
| 238 <p>This page only has half of translation in German, but enough to be generated.
</p> |
| 239 <ul> |
| 240 <li>Übersetzen.</li> |
| 241 <li>TS2.</li> |
| 242 </ul> |
| 243 ### de/get_page_url ### |
| 244 global_canonical_url = https://acme.com/global |
| 245 |
| 246 # 'filter' is default page name for the test website, so we check that the |
| 247 # link would not include the page name itself. |
| 248 filter_canonical_url = https://acme.com/ |
OLD | NEW |